body {
    /* background: #f2f2f2; */
    background: #282c34;
}

.frame {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    height: 400px;
    margin-top: -200px;
    margin-left: -200px;
    border-radius: 2px;
    box-shadow: 1px 2px 10px 0px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    background: #4c4ba2;
}

.dots {
    padding-top: 28px;
    padding-left: 194px;

    .dot {
        width: 12px;
        height: 12px;
        background: #fff;
        border-radius: 50%;
        margin: 5px 0;
        animation: dot ease-in-out infinite;
        animation-duration: calc(60 / (40 + 20 - var(--i)) * 1000ms);
    }
}

@keyframes dot {
    0%,
    100% {
        transform: translate3d(50px, 0, 0);
    }
    50% {
        transform: translate3d(-50px, 0, 0);
    }
}
